"use strict";
var Film = /** @class */ (function () {
    // sortId?: string;
    // filmId?: string;
    // filmName?: string;
    // filmYear?: string;
    // filmTypes?: string;
    // filmDesc?: string;
    // filmImg?: string;
    // castNames?: string;
    // castList?: string;
    // typeId?: string;
    // source?: number;
    // count?: number;
    // constructor(
    //     sortId?: string,
    //     filmId?: string,
    //     filmName?: string,
    //     filmYear?: string,
    //     filmTypes?: string,
    //     filmDesc?: string,
    //     filmImg?: string,
    //     castNames?: string,
    //     castList?: string,
    //     typeId?: string,
    //     source?: number,
    //     count?: number,
    // ) {
    //     this.sortId = sortId
    //     this.filmId = filmId
    //     this.filmName = filmName
    //     this.filmYear = filmYear
    //     this.filmTypes = filmTypes
    //     this.filmDesc = filmDesc
    //     this.filmImg = filmImg
    //     this.castNames = castNames
    //     this.castList = castList
    //     this.typeId = typeId
    //     this.source = source
    //     this.count = count
    // }
    function Film(sortId, filmId, filmName, filmYear, filmTypes, filmDesc, filmImg, castNames, castList, typeId, source, count) {
        this.sortId = sortId;
        this.filmId = filmId;
        this.filmName = filmName;
        this.filmYear = filmYear;
        this.filmTypes = filmTypes;
        this.filmDesc = filmDesc;
        this.filmImg = filmImg;
        this.castNames = castNames;
        this.castList = castList;
        this.typeId = typeId;
        this.source = source;
        this.count = count;
    }
    return Film;
}());
var temp = {
    "sortId": "1",
    "filmId": "26636712",
    "filmName": "蚁人2：黄蜂女现身",
    "filmYear": "2018",
    "filmTypes": "动作/科幻/冒险",
    "filmDesc": "来自漫威电影宇宙的新片《蚁人2：黄蜂女现身》重点展现了两位超级英雄令人惊叹的收缩能力。继《美国队长3》的故事线之后，斯科特·朗迎来了自己作为超级英雄和孩子父亲的双重身份。一方面，他在背负着蚁人职责的同时努力过好自己的生活；另一方面，二代黄蜂女霍普·凡·戴恩和汉克·皮姆博士又向他传达了一项紧迫的新任务。斯科特必须再次穿上战衣，与黄蜂女并肩作战，共同破解来自过去的谜题。",
    "filmImg": "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2529389608.jpg",
    "castNames": "佩顿·里德(导演)/保罗·路德/伊万杰琳·莉莉/迈克尔·佩纳/汉娜·乔恩-卡门",
    "castList": "[{\"name\":\"佩顿·里德\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p38984.jpg\"},{\"name\":\"保罗·路德\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1501385708.56.jpg\"},{\"name\":\"伊万杰琳·莉莉\",\"photo\":\"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p4077.jpg\"},{\"name\":\"迈克尔·佩纳\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1454118774.76.jpg\"},{\"name\":\"汉娜·乔恩-卡门\",\"photo\":\"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1519057306.8.jpg\"}]",
    "typeId": "10001",
    "source": "3.75",
    "count": "4"
};
var f1 = new Film(temp.sortId);
var f2 = {
    "sortId": "1",
    "filmId": "26636712",
    "filmName": "蚁人2：黄蜂女现身",
    "filmYear": "2018",
    "filmTypes": "动作/科幻/冒险",
    "filmDesc": "来自漫威电影宇宙的新片《蚁人2：黄蜂女现身》重点展现了两位超级英雄令人惊叹的收缩能力。继《美国队长3》的故事线之后，斯科特·朗迎来了自己作为超级英雄和孩子父亲的双重身份。一方面，他在背负着蚁人职责的同时努力过好自己的生活；另一方面，二代黄蜂女霍普·凡·戴恩和汉克·皮姆博士又向他传达了一项紧迫的新任务。斯科特必须再次穿上战衣，与黄蜂女并肩作战，共同破解来自过去的谜题。",
    "filmImg": "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2529389608.jpg",
    "castNames": "佩顿·里德(导演)/保罗·路德/伊万杰琳·莉莉/迈克尔·佩纳/汉娜·乔恩-卡门",
    "castList": "[{\"name\":\"佩顿·里德\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p38984.jpg\"},{\"name\":\"保罗·路德\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1501385708.56.jpg\"},{\"name\":\"伊万杰琳·莉莉\",\"photo\":\"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p4077.jpg\"},{\"name\":\"迈克尔·佩纳\",\"photo\":\"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1454118774.76.jpg\"},{\"name\":\"汉娜·乔恩-卡门\",\"photo\":\"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1519057306.8.jpg\"}]",
    "typeId": "10001",
    "source": 3.75,
    "count": 4
};
console.log(f2);
